package com.wenwei.bean;

/**
 * Created by nidalee on 2017/9/27.
 */

public class ParkBean {


    /**
     * id : 8
     * parkId : 5
     * parkCarNum : cd0280008
     * deviceCode : fgfdfgjkyvubrury
     * longitude : 104.081308
     * latitude : 30.630641
     * state : 0
     *
     * {
     "parkAddr": "桐梓林",
     "parkName": "桐梓林停车场",
     "price": 10,
     "latitude": "30.630641",
     "id": 8,
     "deviceCode": "fgfdfgjkyvubrury",
     "state": 0,
     "parkCarNum": "cd0280008",
     "parkId": 5,
     "longitude": "104.081308"
     }
     */


    private String parkAddr;
    private String parkName;
    private float price;

    private int id;
    private int parkId;
    private String parkCarNum;
    private String deviceCode;
    private String longitude;
    private String latitude;
    private int state;

    public String getParkAddr() {
        return parkAddr;
    }

    public void setParkAddr(String parkAddr) {
        this.parkAddr = parkAddr;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParkId() {
        return parkId;
    }

    public void setParkId(int parkId) {
        this.parkId = parkId;
    }

    public String getParkCarNum() {
        return parkCarNum;
    }

    public void setParkCarNum(String parkCarNum) {
        this.parkCarNum = parkCarNum;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "parkName:"+parkName+"parkcarNum:"+parkCarNum+",id:"+getId()+"";
    }
}
